Returns true if the list is empty
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public ReadOnly Property IsEmpty As Boolean  | 
 
| C# |   | 
|---|
public bool IsEmpty {get;} | 
 
            
            
             
            
			
			
            
            
            
Example
Library/Library.Test/TestLinkList.cs
             | C# |  Copy Code | 
|---|
LListNode<string>.LList list = new LListNode<string>.LList();
Assert.IsTrue(list.IsEmpty);
list.AddLast("B");
Assert.IsFalse(list.IsEmpty);
list.AddFirst("A");
Assert.AreEqual("A", list.First.Value);
Assert.AreEqual("B", list.Last.Value); | 
 
| VB.NET |  Copy Code | 
|---|
Dim list As New LListNode(Of String).LList()
Assert.IsTrue(list.IsEmpty)
list.AddLast("B")
Assert.IsFalse(list.IsEmpty)
list.AddFirst("A")
Assert.AreEqual("A", list.First.Value)
Assert.AreEqual("B", list.Last.Value) | 
 
 
            
            
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
 
            
            
See Also